#ifndef OPENGL_WORLD_DISPLAY_H
#define OPENGL_WORLD_DISPLAY_H

#include "OpenGlGridDisplay.h"

class Physics;

class OpenGlWorldDisplay : public OpenGlGridDisplay {

public:
	/* ctor */
	OpenGlWorldDisplay(const World& world, Physics& physics);

	/* run */
	void run();

protected:
	void updateWorld();

private:
	Physics& _physics;

	int _iteration;
};

#endif // OPENGL_WORLD_DISPLAY_H

